<template>
	<view class="commin-header-view" @click.stop="jump">
		<view class="commin-header-main">
			<up-icon name="search" size="20"></up-icon>
			<text>搜索</text>
			<up-icon name="scan" size="20"></up-icon>
			
		</view>
		<up-icon name="chat" size="20"></up-icon>
	</view>
</template>

<script setup>
	const jump = ()=>{
		uni.navigateTo({
			url: '/pages/search/search'
		})
	}
</script>

<style lang="scss">
	
.commin-header-view{
	display: flex;
	align-items: center;
	padding: 10rpx;
	.commin-header-main{
		display: flex;
		align-items: center;
		height: 40rpx;
		padding: 0 20rpx;
		margin-right: 20rpx;
		background-color: #f2f2f2;
		border-radius: 30rpx;
		flex: 1;
		>text{
			font-size: 25rpx;
			margin-left: 20rpx;
			flex: 1;
			color:#cecece;
		}
	}
}
</style>